package com.yaorange.module.system.service;

import com.yaorange.module.vo.SysPermissionTreeVo;
import com.yaorange.pojo.SysPermission;

import java.util.List;
import java.util.Map;

/**
 * @author 15332
 * @version 1.0
 * @date 2025/6/19 15:57
 * @description 权限树业务层
 */
public interface SysPermissionService {
  /**
   * 获取权限树
   * @return
   */
  List<SysPermissionTreeVo> selectPermTree();

  List<Long> selectPermById(Long id);

  List<SysPermission> selectPerm();

  SysPermission selectPermissionById(Long id);

  void updateStatus(Long id, Long permStatus);
}
